<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="utf-8"/>
    <title>新闻详情</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <!-- bootstrap-table 表格插件样式 -->
    <link th:href="@{/ajax/libs/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/style.css}" rel="stylesheet"/>
    <link th:href="@{/project/css/ry-ui.css}" rel="stylesheet"/>
    <link th:href="@{/project/css/public.css}" rel="stylesheet"/>
    <link th:href="@{/project/css/proList.css}" rel="stylesheet"/>
</head>
<body>
<!------------------------------head------------------------------>
<div class="head" th:include="include::normal_headDiv"></div>

<!-------------------current---------------------->
<div class="current">
    <div class="wrapper clearfix">
        <a>新闻详情</a>
    </div>
</div>
<!----------------proList------------------------->
<div style="width: 80%;margin: 0 10% 100px 10%" th:object="${notice}">
    <h2 th:text="*{noticeTitle}" style="text-align: center;"></h2>
    <div style="width: 70%;height: 40px;line-height: 40px;margin:auto 15%;">
        <span class="fl">类型：</span><div class="fl" th:text="*{noticeType}" id="noticeType"></div>
        <div class="fr" th:text="*{insertTime}"></div> <span class="fr">时间：</span>
    </div>
    <div class="fl" style="width: 70%;height: 40px;line-height: 40px;margin:auto 15%;" th:if="*{fileName!=null}">
        附件：<a th:href="*{fileUrl}" th:text="*{fileName}" style="color: #1E0FBE;text-decoration: underline;" target="_blank"></a>
    </div>
    <div class="fl" style="width: 100%;" th:utext="*{noticeContent}"></div>
</div>
<!----------------mask------------------->
<div id="footer" th:include="include::normal_footerDiv"></div>
<div th:include="include::footer_normal"></div>
<script th:inline="javascript">
    var datas = [[${@dict.getType('sys_notice_type')}]];
    $(function () {
        $("#noticeType").html($.table.selectDictLabel(datas, $("#noticeType").html()));
        $(".sList2").css("top","120px");
    });
</script>
</body>
</html>
